# print("大撒大撒大撒大撒大撒大撒大撒大撒大撒大撒大撒大撒")
# print("\r你好呀这是一段测试代码")
# print("\b")



# import time

# for i in range(101): # 添加进度条图形和百分比
#     bar = '[' + '=' * (i // 2) + ' ' * (50 - i // 2) + ']'
#     print(f"\r{bar} {i:3}%", end='', flush=True)
#     time.sleep(0.05)
# print()


# print('\'Hello, world!\'')  # 输出：'Hello, world!'

# print("Hello, world!\nHow are you?")  # 输出：Hello, world!
#                                         #       How are you?

# print("Hello, world!\tHow are you?")  # 输出：Hello, world!    How are you?

# print("Hello,\b world!")  # 输出：Hello world!

# print("Hello,\f world!")  # 输出：
#                            # Hello,
#                            #  world!

# print("A 对应的 ASCII 值为：", ord('A'))  # 输出：A 对应的 ASCII 值为： 65

# print("\x41 为 A 的 ASCII 代码")  # 输出：A 为 A 的 ASCII 代码

# decimal_number = 42
# binary_number = bin(decimal_number)  # 十进制转换为二进制
# print('转换为二进制:', binary_number)  # 转换为二进制: 0b101010

# octal_number = oct(decimal_number)  # 十进制转换为八进制
# print('转换为八进制:', octal_number)  # 转换为八进制: 0o52

# hexadecimal_number = hex(decimal_number)  # 十进制转换为十六进制
# print('转换为十六进制:', hexadecimal_number) # 转换为十六进制: 0x2a



#!/usr/bin/python3
 
# print ("我叫 %s 今年 %d 岁!" % ('小明', 10))
# print ("我叫 %s 今年 %p !" % ('小明', &10))


#!/usr/bin/python3

# list = ['red', 'green', 'blue', 'yellow', 'white', 'black']
# print( list[0] )
# print( list[1] )
# print( list[2] )


#!/usr/bin/python3

# list = ['red', 'green', 'blue', 'yellow', 'white', 'black']
# print( list[-1] )
# print( list[-2] )
# print( list[-3] )


# #!/usr/bin/python3

# nums = [10, 20, 30, 40, 50, 60, 70, 80, 90]
# print(nums[-1::-1])



# tup1=(50)
# print(type(tup1))  # 输出: <class 'int'>
# tup2=(50,)
# print(type(tup2))  # 输出: <class 'tuple'>


#!/usr/bin/python3
 
# tup1 = ('Google', 'Runoob', 1997, 2000)
# tup2 = (1, 2, 3, 4, 5, 6, 7 )
 
# print ("tup1[0]: ", tup1[0])
# print ("tup2[1:5]: ", tup2[1:5])


# #!/usr/bin/python3
 
# tup1 = (12, 34.56)
# tup2 = ('abc', 'xyz')
 
# # 以下修改元组元素操作是非法的。
# # tup1[0] = 100
 
# # 创建一个新的元组
# tup3 = tup1 + tup2
# print (tup3)

# #!/usr/bin/python3
 
# tup = ('Google', 'Runoob', 1997, 2000)
 
# print (tup)
# del tup
# print ("删除后的元组 tup : ")
# print (tup1)  # 这行会报错，因为 tup 已经被删除了


# for x in (1, 2, 3,11111,32,4324,3232, 4, 5): 
#     print (x, end="ppppp")

# test=(2,3,4,5,6,7,8,9,10)
# print(id(test))
# test2=("dasdas","dsxa")
# test+= test2
# print(id(test))


# print(()*3)


#!/usr/bin/python3
 
# var1 = 100
# if var1:
#     print ("1 - if 表达式条件为 true")
#     print (var1)
 
# var2 = 0
# if var2:
#     print ("2 - if 表达式条件为 true")
#     print (var2)
# print ("Good bye!")




# #!/usr/bin/python3
 
# age = int(input("请输入你家狗狗的年龄: "))
# print("")
# if age <= 0:
#     print("你是在逗我吧!")
# elif age == 1:
#     print("相当于 14 岁的人。")
# elif age == 2:
#     print("相当于 22 岁的人。")
# elif age > 2:
#     human = 22 + (age -2)*5
#     print("对应人类年龄: ", human)
 
# ### 退出提示
# input("点击 enter 键退出")



def http_error(status):
    match status:
        case 400:
            return "Bad request"
        case 404:
            return "Not found"
        case 418:
            return "I'm a teapot"
        case _:
            return "Something's wrong with the internet"

mystatus=400
print(http_error(200))